//
//  NBJSuggestionPinAnnotationView.h
//  nbj
//
//  Created by Francois Proulx on 09-10-04.
//  Copyright 2009 Toujours Saoul. All rights reserved.
//

#import <Foundation/Foundation.h>

// Majority of this code is straight from Apple documentation :
// http://developer.apple.com/IPhone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedFeatures/AdvancedFeatures.html#//apple_ref/doc/uid/TP40007072-CH14-SW40

// A draggable pin annotation custom view
@interface NBJSuggestionPinAnnotationView : MKAnnotationView {
	BOOL isMoving;
	CGPoint startLocation;
	CGPoint originalCenter;

	MKMapView* map;
}

@property (assign,nonatomic) MKMapView* map;

- (id)initWithAnnotation:(id <MKAnnotation>)annotation;

@end
